package com.unbox.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * < 系统设置实体类
 * </p>
 *
 * @author 王振宇
 * @since 2021-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("unbox_setting")
@ApiModel(value = "Setting", description = " 系统设置")
public class Setting implements Serializable {
    private static final long serialVersionUID = 1L;
   /**
    * 标识id
    */
    @TableId(value = "setting_id", type = IdType.AUTO)
    @ApiModelProperty(value = "标识id", name = "settingId")
    private Integer settingId;

   /**
    * 后台名称
    */
    @TableField(value = "name")
    @ApiModelProperty(value = "后台名称", name = "name")
    private String name;

   /**
    * 后台图标
    */
    @TableField(value = "logo")
    @ApiModelProperty(value = "后台图标", name = "logo")
    private String logo;

   /**
    * 开启全屏
    */
    @TableField(value = "is_full")
    @ApiModelProperty(value = "开启全屏", name = "isFull")
    private String isFull;

   /**
    * 开启多语言
    */
    @TableField(value = "is_lange")
    @ApiModelProperty(value = "开启多语言", name = "isLange")
    private String isLange;

   /**
    * 开启切换主体
    */
    @TableField(value = "is_subject")
    @ApiModelProperty(value = "开启切换主体", name = "isSubject")
    private String isSubject;

   /**
    * 开启搜索
    */
    @TableField(value = "is_search")
    @ApiModelProperty(value = "开启搜索", name = "isSearch")
    private String isSearch;

   /**
    * 开启日志
    */
    @TableField(value = "is_log")
    @ApiModelProperty(value = "开启日志", name = "isLog")
    private String isLog;

   /**
    * 开启字体设置
    */
    @TableField(value = "is_font")
    @ApiModelProperty(value = "开启字体设置", name = "isFont")
    private String isFont;

   /**
    * 开启主体颜色
    */
    @TableField(value = "is_color")
    @ApiModelProperty(value = "开启主体颜色", name = "isColor")
    private String isColor;

   /**
    * 创建时间
    */
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private LocalDateTime createTime;

    @TableField(value = "ali_bucket_name")
    private String aliBucketName;
    @TableField(value = "ali_endpoint")
    private String aliEndpoint;
    @TableField(value = "ali_access_key_id")
    private String aliAccessKeyId;
    @TableField(value = "ali_access_key_secret")
    private String aliAccessKeySecret;
    @TableField(value = "ali_oss_dns")
    private String aliOssDns;
    @TableField(value = "oss_type")
    private String ossType;
    @TableField(value = "local_file")
    private String localFile;
    @TableField(value = "local_dns")
    private String localDns;
}
